import Vue from 'vue'
import App from './App.vue'
import router from './common/router.js'
import store from './common/vuex.js'

import axios from './common/axios'
import VueAxios from 'vue-axios'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.less';

import "./assets/style/bootstrap.basic.css"
import "./assets/style/customer.css"

import "./mock-data/index"
import {loadJs} from "./utils/js-utils";

// Install BootstrapVue
Vue.use(Antd);
// Optionally install the BootstrapVue icon components plugin
Vue.use(VueAxios, axios);
Vue.config.productionTip = false;
// 自动计算table高度组件

window.mapready = function () {
    console.log('mapIsReady');
    store.commit('isMapReady', true);
};

// Promise.all([loadJs()])

export default new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app');

